.class Lcom/htc/android/footprints/service/LocationAgentService$2;
.super Lcom/htc/android/footprints/ILocationAgentService$Stub;
.source "LocationAgentService.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/service/LocationAgentService;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/service/LocationAgentService;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/service/LocationAgentService;)V
    .locals 0
    .parameter

    .prologue
    .line 161
    iput-object p1, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    invoke-direct {p0}, Lcom/htc/android/footprints/ILocationAgentService$Stub;-><init>()V

    return-void
.end method


# virtual methods
.method public continueTracking()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 132
    const-string v0, "LocationAgentService"

    const-string v1, "continueTracking"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 133
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->continueTracking()V

    .line 134
    return-void
.end method

.method public enableMyLocation()V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 117
    const-string v0, "LocationAgentService"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "enableMyLocation, mAgent = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v2}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I

    .line 118
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->enableMyLocation()V

    .line 119
    return-void
.end method

.method public isTimeout()Z
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 142
    const-string v0, "LocationAgentService"

    const-string v1, "isTimeout"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 143
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->isTrackingTimeout()Z

    move-result v0

    return v0
.end method

.method public isTracking()Z
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 137
    const-string v0, "LocationAgentService"

    const-string v1, "isTracking"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 138
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->isTrackingGps()Z

    move-result v0

    return v0
.end method

.method public registerCallback(Lcom/htc/android/footprints/ILocationAgentCallback;)V
    .locals 3
    .parameter "callback"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 100
    const-string v0, "LocationAgentService"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "registerCallback, callback = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 101
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->clientList:Ljava/util/ArrayList;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$000(Lcom/htc/android/footprints/service/LocationAgentService;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 102
    return-void
.end method

.method public removeCallback(Lcom/htc/android/footprints/ILocationAgentCallback;)Z
    .locals 4
    .parameter "callback"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 106
    const-string v1, "LocationAgentService"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    const-string v3, "removeCallback, callback = "

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I

    .line 107
    iget-object v1, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->clientList:Ljava/util/ArrayList;
    invoke-static {v1}, Lcom/htc/android/footprints/service/LocationAgentService;->access$000(Lcom/htc/android/footprints/service/LocationAgentService;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->remove(Ljava/lang/Object;)Z

    move-result v0

    .line 108
    .local v0, result:Z
    return v0
.end method

.method public resume()V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 162
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->resume()V

    .line 163
    return-void
.end method

.method public setTimeout(J)V
    .locals 2
    .parameter "timer"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 112
    const-string v0, "LocationAgentService"

    const-string v1, "setTimeout"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 113
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/htc/android/footprints/service/LocationAgent;->setTimeout(Ljava/lang/Long;)V

    .line 114
    return-void
.end method

.method public setTimeoutNotify(Z)V
    .locals 2
    .parameter "notify"
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 147
    const-string v0, "LocationAgentService"

    const-string v1, "setTimeoutNotify"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 148
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0, p1}, Lcom/htc/android/footprints/service/LocationAgent;->setTimeoutNotify(Z)V

    .line 149
    return-void
.end method

.method public shutdownAgent()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 127
    const-string v0, "LocationAgentService"

    const-string v1, "shutdownAgent"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 128
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->shutdownAgent()V

    .line 129
    return-void
.end method

.method public stopTracking()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 122
    const-string v0, "LocationAgentService"

    const-string v1, "stopTracking"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 123
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->stopTracking()V

    .line 124
    return-void
.end method

.method public stopTrackingWithoutNotify()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 152
    const-string v0, "LocationAgentService"

    const-string v1, "stopTrackingWithoutNotify"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 153
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->stopTrackingWithoutNotify()V

    .line 154
    return-void
.end method

.method public waitForPause()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Landroid/os/RemoteException;
        }
    .end annotation

    .prologue
    .line 157
    const-string v0, "LocationAgentService"

    const-string v1, "waitForPause"

    invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I

    .line 158
    iget-object v0, p0, Lcom/htc/android/footprints/service/LocationAgentService$2;->this$0:Lcom/htc/android/footprints/service/LocationAgentService;

    #getter for: Lcom/htc/android/footprints/service/LocationAgentService;->mAgent:Lcom/htc/android/footprints/service/LocationAgent;
    invoke-static {v0}, Lcom/htc/android/footprints/service/LocationAgentService;->access$200(Lcom/htc/android/footprints/service/LocationAgentService;)Lcom/htc/android/footprints/service/LocationAgent;

    move-result-object v0

    invoke-virtual {v0}, Lcom/htc/android/footprints/service/LocationAgent;->waitForPause()V

    .line 159
    return-void
.end method
